
package Model;

public class Login {

    private boolean userLogin =  false;    
    private String userID = "";    
    private String password = "";
    private Employee emp;

	public Login(boolean userLogin, String userID, String password, Employee emp){
		setUserLogin(userLogin);
		setUserID(userID);
		setPassword(password);
                setEmp(emp);
	}
	
	public Login(){
	}
	
	public void resetVariable() {
		setUserLogin(false);
		setUserID("");
		setPassword("");
	}
	
    public void setUserLogin(boolean userLogin) {
        this.userLogin = userLogin;
    }
    
    public boolean isUserLogin() {
        return userLogin;
    }
    
    public void setUserID(String userID) {
        this.userID = userID;
    }
    
    public String getUserID() {
        return userID;
    }
    
    public void setPassword(String password) {
        this.password = password;
    }
    
    public String getPassword () {
        return password;
    }     

    public Employee getEmp() {
        return emp;
    }

    public void setEmp(Employee emp) {
        this.emp = emp;
    }
    
}